import request from '@/utils/request'

export function getProjects() {
  return request({
    url: '/project/getlist',
    method: 'get',
  })
}

export function addProjects(data) {
  return request({
    url: '/project/addproject' + '/'+data,
    method: 'post',
  })
}

export function addTestPlain(projectId,testPlain) {
  return request({
    url: '/project/addtestplain/' + '/'+projectId+'/'+testPlain,
    method: 'post',
  })
}

export function getTestPlain(data){
  return request({
    url:'/project/gettestplain' + '/'+data,
    method:'get'
  })
}




